//加载状态 loading  表格 表格搜索  表格二次确认框
//定义state
export type LoadState = {
  loading: boolean
}
export const state: LoadState = {
  loading:false
}
//定义mutations
export const mutations = {
  // 设置
  setLoad(state: LoadState, loading: boolean) {
    state.loading = loading
  },
}
//定义getters
export const getters = {
  getLoad(state: LoadState) {
    return state.loading
  },
}
//定义actios
export const actions = {}
export default {
  namespaced: true,
  state,
  mutations,
  actions,
  getters
}